package com.example.myapplication.beans;

import java.util.Date;

public class OrderItem {

    private String itemId;
    private String orderId;
    private String productId;
    private String productName;
    private String productImg;
    private String skuId;
    private String skuName;
    private double productPrice;
    private int buyCounts;
    private double totalAmount;
    private Date basketDate;
    private Date buyTime;
    private int isComment;

    public OrderItem() {
    }

    public OrderItem(String itemId, String orderId, String productId, String productName, String productImg, String skuId, String skuName, double productPrice, int buyCounts, double totalAmount, Date basketDate, Date buyTime, int isComment) {
        this.itemId = itemId;
        this.orderId = orderId;
        this.productId = productId;
        this.productName = productName;
        this.productImg = productImg;
        this.skuId = skuId;
        this.skuName = skuName;
        this.productPrice = productPrice;
        this.buyCounts = buyCounts;
        this.totalAmount = totalAmount;
        this.basketDate = basketDate;
        this.buyTime = buyTime;
        this.isComment = isComment;
    }

    @Override
    public String toString() {
        return "OrderItem{" +
                "itemId='" + itemId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", productId='" + productId + '\'' +
                ", productName='" + productName + '\'' +
                ", productImg='" + productImg + '\'' +
                ", skuId='" + skuId + '\'' +
                ", skuName='" + skuName + '\'' +
                ", productPrice=" + productPrice +
                ", buyCounts=" + buyCounts +
                ", totalAmount=" + totalAmount +
                ", basketDate=" + basketDate +
                ", buyTime=" + buyTime +
                ", isComment=" + isComment +
                '}';
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(double productPrice) {
        this.productPrice = productPrice;
    }

    public int getBuyCounts() {
        return buyCounts;
    }

    public void setBuyCounts(int buyCounts) {
        this.buyCounts = buyCounts;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Date getBasketDate() {
        return basketDate;
    }

    public void setBasketDate(Date basketDate) {
        this.basketDate = basketDate;
    }

    public Date getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(Date buyTime) {
        this.buyTime = buyTime;
    }

    public int getIsComment() {
        return isComment;
    }

    public void setIsComment(int isComment) {
        this.isComment = isComment;
    }
}
